package my.yuan.dubbo.provider;

import my.yuan.dubbo.api.DemoInterface;
import org.springframework.stereotype.Component;

/**
 * @author: zhaoqiyuan
 * @description: TODO
 * @date: 2021/12/13 14:37
 */
@Component
public class DemoProvider implements DemoInterface {
    @Override
    public String test(String a) {
        try {
            Thread.sleep(10000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "ddd";
    }
}
